package data;

/**
 * 爆炸效果数据类
 */
public class BombData {
    // -------------------- 数据设计 --------------------
    private int x, y;                   // 坐标
    private int width = 40, height = 40;// 尺寸
    private int state = 0;              // 状态 0空闲1爆炸中
    private int bombProgress = 0;       // 爆炸进度
    // -------------------- 数据设计 --------------------

    public BombData(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() { return x; }
    public void setX(int x) { this.x = x; }
    public int getY() { return y; }
    public void setY(int y) { this.y = y; }
    public int getWidth() { return width; }
    public void setWidth(int width) { this.width = width; }
    public int getHeight() { return height; }
    public void setHeight(int height) { this.height = height; }
    public int getState() { return state; }
    public void setState(int state) { this.state = state; }
    public int getBombProgress() { return bombProgress; }
    public void setBombProgress(int bombProgress) { this.bombProgress = bombProgress; }
}